# Author:linxuemei
# week07

stu_id = [95,97,90,90,97,88,90]

# 删除 97 的值
# 方法1 ： remove 怎么删干净？
# while True:
#     if 97 in stu_id:
#         stu_id.remove(97)
#     else:
#         break
# print(stu_id)

# 方法2： pop()
# print(stu_id.index(97))
for index,item in enumerate(stu_id):
    print(index,item)
    if item == 97:
        print(index)
        stu_id.pop(index)
print(stu_id)